from django.urls import path, include




from .views import CustomView, CustomCommentView, CustomCommenCreatetView, MyPushGenericViewSet,SendTengXunView


from rest_framework.routers import SimpleRouter

router = SimpleRouter()
# 产品首页
router.register('custom', CustomView, 'custom')
router.register('comment', CustomCommentView, 'comment')
router.register('comment_create', CustomCommenCreatetView, 'comment_create')

router.register('send_tengxun', SendTengXunView, 'send_tengxun')


router.register('my_push', MyPushGenericViewSet, 'my_push')

urlpatterns = [

]
urlpatterns += router.urls
